/** 
 * Project Name:eleme-website 
 * File Name:UDaoFactory.java 
 * Package Name:com.eleme.dao.impl 
 * Date:2017年12月27日下午7:16:35 
 * Copyright (c) 2017, fakedesigner@163.com All Rights Reserved. 
 * 
*/  
  
package com.eleme.dao.impl;

import com.eleme.dao.IBaseDao;
import com.eleme.dao.IBussinessDao;
import com.eleme.dao.ICartMemberDao;
import com.eleme.dao.IDaoFactory;
import com.eleme.dao.IMenuCategoryDao;
import com.eleme.dao.IMenuGoodsDao;
import com.eleme.dao.IOrderBillDao;
import com.eleme.dao.ISampleDao;
import com.eleme.dao.IShopCartDao;
import com.eleme.dao.IShopDetailDao;
import com.eleme.dao.IShopMainDao;
import com.eleme.dao.ISpecDao;

/** 
 * ClassName:UDaoFactory <br/> 
 * Function: TODO ADD FUNCTION. <br/> 
 * Reason:   TODO ADD REASON. <br/> 
 * Date:     2017年12月27日 下午7:16:35 <br/> 
 * @author   Pan 
 * @version   
 * @since    JDK 1.8 
 * @see       
 */
public class UDaoFactory	implements	IDaoFactory {

	private static final UDaoFactory self;
	
	static {
		self = new UDaoFactory();
	}
	
	private UDaoFactory() {
		
	}
	
	public IShopDetailDao getShopDetailDao() {
		// TODO Auto-generated method stub
		return new ShopDao();
	}

	public static IDaoFactory getInstance() {
		return self;
	}
	
	public IBaseDao getDao() {
		// TODO Auto-generated method stub
		return null;
	}

	public ISampleDao getSampleDao() {
		// TODO Auto-generated method stub
		return new SampleDao();
	}

	public IOrderBillDao getOrderDao() {
		// TODO Auto-generated method stub
		return null;
	}

	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}
	public IShopMainDao getShopMainDao() {
		return null;
	}
	public IBussinessDao getShopBussDao() {
		return null;
	}

	public IShopCartDao getShopCartDao() {
		// TODO Auto-generated method stub
		return new ShopCartDao();
	}

	public IMenuCategoryDao getMenuCategoryDao() {
		// TODO Auto-generated method stub
		return new MenuCategoryDao();
	}

	public IMenuGoodsDao getMenuGoodsDao() {
		// TODO Auto-generated method stub
		return new GoodsDao();
	}

	public ISpecDao getSpecDao() {
		// TODO Auto-generated method stub
		return new SpecDao();
	}

	public ICartMemberDao getCartMemberDao() {
		// TODO Auto-generated method stub
		return null;
	}
	
	
	
}
